* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  overflow: hidden;
}

audio {
  width: 50vw;
  height: 50px;
  border-radius: 10px;
  box-shadow: 0 0 5px 0 #ccc;
  margin-top: 25px;
  margin-left: 25vw;
  background: #f2f2f2;
  display: flex;
  align-items: center;
}

/* 播放暂停按钮 */
audio::-webkit-media-controls-play-button {
  width: 0;
  height: 0;
  border-left: 10px solid #555;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

audio::-webkit-media-controls-play-button:active,
audio:not([paused])::-webkit-media-controls-play-button {
  border-left: 5px double #555;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* 当前时间 */
audio::-webkit-media-controls-current-time-display {
  color: #666;
  font-size: 14px;
  width: 45px;
}

/* 时间分割符 */
audio::-webkit-media-controls-time-remaining-display:before {
  content: '/';
  color: #bbb;
  margin: 0 5px;
}

/* 总时长 */
audio::-webkit-media-controls-time-remaining-display {
  color: #666;
  font-size: 14px;
}
